
/**
 * 提交公示
 * @param {Number} appeal_id 事项id
 */
export function apiSetApea (appeal_id, message) {
	return uni.$u.post('/api/gxkfs_admin/setApea', {appeal_id, message})
}

/**
 * 查询已办事项
 */
export function apiGetAppealByUserY (type, key) {
	return uni.$u.post('/api/gxkfs_admin/getAppealByUserY', {type, key})
}

/**
 * 获取领导查看数据
 * @param {Number} type 1=已公示，2=未公示, 3=已评论
 */
export function apiGetAppealByUserL (type) {
	return uni.$u.post('/api/gxkfs_admin/getAppealByUserL', {type})
}

/**
 * 根据id获取可公示事项详情
 * @param {Number} id	事项id
 */
export function apiGetAppealById (id) {
	return uni.$u.post('/api/gxkfs_admin/getAppealById', {id})
}

/**
 * 提交评论
 * @param {Number} appeal_id 评论事项ID
 * @param {String} message	评论内容
 */
export function  apiSetComment (appeal_id, message) {
	return uni.$u.post('/api/gxkfs_admin/setComment', {appeal_id, message})
}